/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

/**
 *
 * @author lab1
 */
public class Product {

    private String productID;
    private String productName;
    private Double price;
    private int quantity;
    private Double money;
    private boolean editPro;

    public Product() {
        super();
    }

    public boolean isEditPro() {
        return editPro;
    }

    public void setEditPro(boolean editPro) {
        this.editPro = editPro;
    }

    public Double getMoney() {
        money = price * quantity;
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
